package com.heima.oopAdvanced.n06abstractAndInterface;

public class PingpongInstructor extends Instructor implements SpeakEnglish{

    public PingpongInstructor() {
    }

    public PingpongInstructor(String name, int age) {
        super(name, age);
    }

    @Override
    public void teach() {
        System.out.println("教打乒乓球");
    }

    @Override
    public void speakEnglish() {
        System.out.println("说英语");
    }
}
